package com.nuc.list1;

import java.util.ArrayList;

/**
 * Time    : 2023/3/30 10:43
 * Author  : 王摇摆
 * FileName: Demo8.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class Demo8 {
    public static void main(String[] args) {
        ArrayList<Object> person1 = new ArrayList<>();
        ArrayList<Object> person2 = new ArrayList<>();

        person2.add("wgw");

        System.out.println("返回Iterator集合对象：" + person1.iterator());
        System.out.println("返回Iterator集合对象：" + person2.iterator());


    }
}
